//package cqrtplm.aop;
//
//
//import com.alibaba.fastjson.JSONObject;
//import com.hustcad.plm.pdm.form.model.dto.FormDataDTO;
//import com.ty.basic.constant.TableTypeConstrant;
//import lombok.extern.slf4j.Slf4j;
//import org.aspectj.lang.ProceedingJoinPoint;
//import org.aspectj.lang.annotation.Around;
//import org.aspectj.lang.annotation.Aspect;
//import org.springframework.stereotype.Component;
//
//@Aspect
//@Component
//@Slf4j
//public class FormContentAop {
//
//    /**
//     * 保存表单时，表单属性映射iba属性
//     * @param joinPoint
//     * @return
//     * @throws Throwable
//     */
//    @Around("execution(* com.hustcad.plm.pdm.form.service.TyFormDataExtService.saveFormContent(..))")
//    public Object saveFormContent(ProceedingJoinPoint joinPoint) throws Throwable {
//        Object[] args = joinPoint.getArgs();
//        log.info("切面==================");
//        FormDataDTO dto = (FormDataDTO) args[0];
//        if(TableTypeConstrant.TY_FORMDATA_TYPE.equalsIgnoreCase(dto.getOtype())){
//            JSONObject formData = dto.getFormdata();
//            formData
//        }
//        return joinPoint.proceed();
//    }
//}
